<input type="hidden" id="zoom_nums" value="<!--{count($marry.gallery)}-->" />
<!--{foreach $marry.gallery as $volist}-->
    <!--{if $orderi > 0}-->
	<!--{if $volist.i == $orderi}-->
	<input type="hidden" id="orderi" value="<!--{$volist.i}-->" />
	<!--{/if}-->
	<!--{else}-->
	<!--{if $volist.i == "1"}-->
	<input type="hidden" id="orderi" value="<!--{$volist.i}-->" />
	<!--{/if}-->
	<!--{/if}-->
<!--{/foreach}-->

<p class="p_1">
  <i id="zoom_orderi">
	  <!--{foreach $marry.gallery as $volist}-->
	  <!--{if $orderi > 0}-->
		<!--{if $volist.i == $orderi}-->
		<!--{$volist.i}-->
		<!--{/if}-->
	  <!--{else}-->
		<!--{if $volist.i == "1"}-->
		1
		<!--{/if}-->
	  <!--{/if}-->
	  <!--{/foreach}-->
  </i>/<!--{count($marry.gallery)}-->
</p>
<span class="close" f="but_close_marry_zoom"><i></i></span>
<div class="bd">
  <ul id="zoom_list">
	<!--{foreach $marry.gallery as $volist}-->
	<li class="_list" id="zoom_<!--{$volist.i}-->" style="display:<!--{if $volist.i == $orderi}-->block<!--{else}-->none<!--{/if}-->;" data-orderi="<!--{$volist.i}-->"><img class="view" src="<!--{$volist.drawimg}-->" /><img class="line" src="<!--{$skinpath}-->images/img_line.png" /></li>
	<!--{/foreach}-->
  </ul>
  <div class="clear"></div>
</div>
<span class="prev" f="but_prev_zomm"></span>
<span class="next" f="but_next_zomm"></span>
